package com.rentalcar.rental_car.service;

import com.rentalcar.rental_car.entity.Car;

import java.util.List;

public interface CarService {
    List<Car> getCarAll();
    List<Car> selectByType(String type);
    List<Car> selectByAddress(String address);
    List<Car> selectByColor(String color);
    int add(Car car);
    int update(Car car);
    int delete(Car car);
}
